package com.region.integral.common_user.obtain.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;
import com.region.integral.common_user.obtain.IObtainIntegral;
import com.region.integral.common_user.obtain.dao.delegate.RegulationObjectDelegate;
@Component("common_user_obtainIntegral")
public class ObtainIntegralImpl implements IObtainIntegral {
	@Resource(name="obtain_regulationObjectDelegate")
	private RegulationObjectDelegate regulationObjectDelegate;
	
	@Override
	public boolean byAuthentication(int commonUserid, String authWay) {
		return regulationObjectDelegate.authenticationDelegate(commonUserid, authWay);
	}
	@Override
	public boolean byCommentGoods(int commonUserid) {
		return regulationObjectDelegate.commentGoodsDelegate(commonUserid);
	}
	@Override
	public boolean byCommentWeiBo(int commonUserid) {
		return regulationObjectDelegate.commentWeiBoDelegate(commonUserid);
	}
	@Override
	public boolean byGroupPeopleRise(int commonUserid, String obtainWay) {
		return regulationObjectDelegate.groupPeopleRiseDelegate(commonUserid, obtainWay);
	}
	@Override
	public boolean byInviteFriend(int commonUserid, int inviteFriendNum) {
		return regulationObjectDelegate.inviteFriendDelegate(commonUserid, inviteFriendNum);
	}
	@Override
	public boolean byIssueActivity(int commonUserid) {
		return regulationObjectDelegate.issueActivityDelegate(commonUserid);
	}
	@Override
	public boolean byJoinActivity(int commonUserid) {
		return regulationObjectDelegate.joinActivityDelagate(commonUserid);
	}
	@Override
	public boolean byJoinGroup(int commonUserid) {
		return regulationObjectDelegate.joinGroupDelegate(commonUserid);
	}
	@Override
	public boolean byLogin(int commonUserid) {
		return regulationObjectDelegate.loginDelegate(commonUserid);
	}
	@Override
	public boolean byOnline(int commonUserid) {
		return regulationObjectDelegate.onlineDelegate(commonUserid);
	}
	@Override
	public boolean byRegister(int commonUserid) {
		return regulationObjectDelegate.registerDelegate(commonUserid);
	}
	@Override
	public boolean byReplyComment(int commonUserid) {
		return regulationObjectDelegate.replyCommentDelegate(commonUserid);
	}
	@Override
	public boolean bySendWeiBo(int commonUserid, String medal) {
		return regulationObjectDelegate.sendWeiBoDelegate(commonUserid, medal);
	}
}
